package com.ruoyi.basis.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品信息对象 product
 * 
 * @author zwt
 * @date 2022-02-22
 */
public class Product extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 商品入库主表ID */
    @Excel(name = "商品入库主表ID")
    private Long warehousingOrderId;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String productCode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 单位【关联字典管理】 */
    @Excel(name = "单位【关联字典管理】")
    private String goodsUnit;

    /** 计划数量 */
    @Excel(name = "计划数量")
    private Long planNumber;

    /** 实际数量 */
    @Excel(name = "实际数量")
    private Long warehousingNumber;

    /** 多产量 */
    @Excel(name = "多产量")
    private Long moreNumber;

    /** 少生产数量 */
    @Excel(name = "少生产数量")
    private Long shortageNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWarehousingOrderId(Long warehousingOrderId) 
    {
        this.warehousingOrderId = warehousingOrderId;
    }

    public Long getWarehousingOrderId() 
    {
        return warehousingOrderId;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setGoodsUnit(String goodsUnit) 
    {
        this.goodsUnit = goodsUnit;
    }

    public String getGoodsUnit() 
    {
        return goodsUnit;
    }
    public void setPlanNumber(Long planNumber) 
    {
        this.planNumber = planNumber;
    }

    public Long getPlanNumber() 
    {
        return planNumber;
    }
    public void setWarehousingNumber(Long warehousingNumber) 
    {
        this.warehousingNumber = warehousingNumber;
    }

    public Long getWarehousingNumber() 
    {
        return warehousingNumber;
    }
    public void setMoreNumber(Long moreNumber) 
    {
        this.moreNumber = moreNumber;
    }

    public Long getMoreNumber() 
    {
        return moreNumber;
    }
    public void setShortageNumber(Long shortageNumber) 
    {
        this.shortageNumber = shortageNumber;
    }

    public Long getShortageNumber() 
    {
        return shortageNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("warehousingOrderId", getWarehousingOrderId())
            .append("productCode", getProductCode())
            .append("productName", getProductName())
            .append("goodsUnit", getGoodsUnit())
            .append("planNumber", getPlanNumber())
            .append("warehousingNumber", getWarehousingNumber())
            .append("moreNumber", getMoreNumber())
            .append("shortageNumber", getShortageNumber())
            .toString();
    }
}
